<?php
/**
 * @notes:
 * @return
 * @author: admin
 * @date: 2024/9/10
 */


namespace addons\shopro\controller\lucky;

use addons\shopro\controller\Common;
use addons\shopro\service\lucky\UserService;

class User extends Common
{

    protected $noNeedLogin = [];
    protected $noNeedRight = ['*'];

    public function getlist()
    {
        $params = $this->request->only(['type']);
        $this->svalidate($params);
        $user = auth_user();
        $this->success('获取成功',(new UserService())->getList($params,$user));
    }

}